package top.lisicheng.openfeign;

import org.springframework.stereotype.Component;
import top.lisicheng.model.CommonResult;

@Component
public class OpenFeignCallback implements OpenFeignApi{
    @Override
    public CommonResult testA() {
        return new CommonResult(500,"testA is error callback");
    }

    @Override
    public CommonResult testB() {
        return new CommonResult(500,"testB is error callback");
    }
}
